<?php
header('Content-type: text/vnd.wap.wml');
?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="View rss">
<p>Read news on SGH-C170:<br />
<?php
//my collection of feeds
$feeds = array( 'http://www.dientuvienthong.net/diendan/feed.php?f=88' => 'CLB T-BOT',
				'http://www.dientuvienthong.net/diendan/feed.php' => 'Diễn đàn điện tử viễn thông',
				'http://www.dientuvienthong.net/diendan/feed.php?mode=topics' => 'Diễn đàn điện tử viễn thông - Chủ đề',
				'http://ddth.com/external.php?type=RSS2' => 'Diễn đàn tin học',
				'http://ddth.com/external.php?type=RSS2&forumids=45' => 'Diễn đàn tin học 2',
				'http://news.google.com.vn/news?pz=1&cf=all&ned=vi_vn&hl=vi&output=rss' => 'Google news',
				'http://fxfeeds.mozilla.com/vi/firefox/headlines.xml' => 'Mozilla News');
foreach($feeds as $url => $title){
	echo "<a href=\"./showtitle.php?url=".urlencode($url)."&start=0\">".$title."</a><br />\r\n";
}
?>
<a href="viewcustomfeed.wml">Custom feed</a><br />
</p>
</card>
</wml>